<template>
    <div class="cartlist">
        <cart-list-item
        v-for="item in getCartList" :key="item.iid"
        :item-info='item'
        ></cart-list-item>
    </div>
</template>

<script>
    import CartListItem from './CartListItem'
export default {
    components: {
        CartListItem
    },
    computed: {
        getCartList(){
            return this.$store.state.carList
        }
    }

};
</script>

<style lang="less" scoped>

</style>

